package com.itheima.tliasmanagement.mapper;

import com.itheima.tliasmanagement.entity.EmpLoginLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface EmpLoginLogMapper {

    @Insert("INSERT INTO emp_login_log (id, username, password, login_time, is_success, jwt, cost_time) \n" +
            "VALUES (#{id}, #{username}, #{password}, #{loginTime}, #{isSuccess}, #{jwt}, #{costTime});")
    void insertLoginLog(EmpLoginLog loginLog);
}
